JBoss Community Archive (Read Only)

Scribble

Simulating a Protocol description against an Event List

The simulate command takes two parameters. The first parameter
is the located protocol description and the second parameter is the event list to
be simulated against the protocol.

For example, if the user is in the top level folder of the Scribble tools distribution,
without the bin folder being added to the system path, then the
following command can be executed to simulate the protocol description:

bin/simulate.sh samples/purchasing/Purchasing@Buyer.spr samples/purchasing/Purchasing@Buyer.events

The event file is a comma separated value (csv) format, with the first
column representing the event type, and the second representing the value relevant for the
event type. The event types are listed below:

The event file used in the sample command above is:

send,Order
receive,Confirmation

and the result of running the command is:

INFO: Validated Send Order
INFO: Validated Receive Confirmation
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 09:37:59 UTC, last content change 2011-09-14 21:57:33 UTC.